#include"Date.h"

void DateTest1()
{
	/*Date a(2025, 3, 6);
	a += 31;
	a.Print();
	Date b(a);
	b = b + 40;
	b.Print();

	a -= 66;
	a.Print();
	b = b - 66;
	b.Print();*/

	Date a(2025, 3, 6);
	//a += -66;
	//a = a + (-66);
	a -= -66;
	a.Print();

}

void DateTest2()
{
	Date a1(2025, 3, 6);
	Date a2(2025, 1, 6);

	cout << (a1 == a2) << endl;//0
	cout << (a1 <= a2) << endl;//0
	cout << (a1 >= a2) << endl;//1

	cout << (a1 > a2) << endl;//1
	cout << (a1 < a2) << endl;//0
	cout << (a1 != a2) << endl;//1

}

void DateTest3()
{
	Date a(2025, 3, 6);
	Date a1 = a++;
	a1.Print();
	Date a2 = ++a;
	a2.Print();
	Date b(a);
	Date b1 = b--;
	b1.Print();
	Date b2 = --b;
	b2.Print();
}

void DateTest4()
{
	Date a1(2025, 3, 6);
	Date a2(2004, 10, 24);
	int count = a1 - a2;
	cout << count << endl;
}

void DateTest5()
{
	Date a1, a2;
	cin >> a1 >> a2;
	cout << a1 <<"\n" << a2 << endl;
}
void DateTest6()
{
	Date a1(2025, 3, 6);
	Date a2(2004, 10, 24);
	cout << &a1 << "\n" << &a2 << endl;
}

int main()
{
	DateTest6();
	return 0;
}